const initConsole = require('./src/index.js');


const init =()=>{
    function func (){
        console.log('this is a function')
    }

    const test = {
        boolean:true,
        number:1,
        string:'1',
        null:null,
        undefined:undefined,
        func:function (){
            console.log('this is a anonymous function')
        },
        object:{
            key:'key',
            value:'value'
        },
        array:[1,2,3,4,5,[123,{a:1,func}],1]
        
    }
    
    console.log(test)
    console.log(a)
    
    function fun1(){
        console.log('this is fun1')
    }

    const fun2= ()=>{
        console.log('this is fun2')
    }
    console.log(fun1)
    console.log(fun2)
    console.log(function (){
        console.log('this is a anonymous function')
    })

}
            
initConsole(init)



